package com.zhentao.utils;

import com.zhentao.model.common.manger.pojo.MangerUser;

public class WmThreadLocalUtil {
    private final  static  ThreadLocal<MangerUser> WM_USER_THREAD_LOCAL=new ThreadLocal<>();

    public static void set(MangerUser mangerUser){
        WM_USER_THREAD_LOCAL.set(mangerUser);
    }

    public static MangerUser get(){
        return WM_USER_THREAD_LOCAL.get();
    }

    public static void remove(){
        WM_USER_THREAD_LOCAL.remove();
    }
}
